.orgchart-container {
  position: relative;
  display: inline-block;
  height: 800px;
  width: 100%;
  border: 2px dashed #aaa;
  border-radius: 5px;
  overflow: auto;
  text-align: center;
  background-image: linear-gradient(90deg, rgba(200, 0, 0, 0.05) 10%, rgba(0, 0, 0, 0) 10%),
    linear-gradient(rgba(200, 0, 0, 0.05) 10%, rgba(0, 0, 0, 0) 10%);
  background-size: 10px 10px;
  background-position: center center;
}

.orgchart {
  box-sizing: border-box;
  display: inline-block;
  background: transparent;
  min-height: 202px;
  min-width: 202px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 20px;
  position: relative;
  transform-origin: center top;
}

.orgchart table {
  border-spacing: 0;
  border-collapse: separate;
  margin: 0 auto;
}

.orgchart > table:first-child {
  margin: 20px auto;
}

.orgchart td {
  text-align: center;
  vertical-align: top;
  padding: 0;
  position: relative;
}

.orgchart .lines:nth-child(3) td {
  box-sizing: border-box;
  height: 20px;
}

.orgchart .lines .topLine {
  border-top: 2px solid rgba(217, 83, 79, 0.8);
}

.orgchart .lines .rightLine {
  border-right: 1px solid rgba(217, 83, 79, 0.8);
  float: none;
  border-radius: 0;
}

.orgchart .lines .leftLine {
  border-left: 1px solid rgba(217, 83, 79, 0.8);
  float: none;
  border-radius: 0;
}

.orgchart .lines .downLine {
  background-color: rgba(217, 83, 79, 0.8);
  margin: 0 auto;
  height: 20px;
  width: 2px;
  float: none;
}

.orgchart .node {
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 3px;
  text-align: center;
} 